import { Avatar } from "antd-mobile";
import React from "react";
import styles from "./Index.module.css";
import { useNavigate } from "react-router-dom";
function Index() {
  const nav=useNavigate()
  return (
    <div>
     <div className={styles.heard}>
        <div className={styles.wen} onClick={()=>nav('/person')}>
          <Avatar src="" style={{ "--border-radius": "50%",marginTop:'-7px' }} />
        </div>
        <div className={styles.icon}>
          <img src="./heil.png" alt="" />
        </div>
      </div>
    </div>
    
}

export default Index;
